#define _CRT_SECURE_NO_WARNINGS 1

#include"MyQueue.h"
#include"Stack.h"

void test1()
{
	ST st;
	STInit(&st);
	STPush(&st, 2);
	STPush(&st, 5);
	STPush(&st, 8);
	STPush(&st, 9);
	STPush(&st, 12);
	STPrint(&st);

	STDestroy(&st);
}


void test2()
{
	MyQ* ret = myQueueCreate();
	myQueuePush(ret, 10);
	myQueuePush(ret, 2);
	myQueuePush(ret, 6);
	myQueuePush(ret, 15);
	myQueuePrint(ret);

	myQueuePop(ret);
	myQueuePrint(ret);

	//myQueueDestroy(ret);

}

int main()
{
	//test1();
	test2();

	return 0;
}